home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 144_01 / compress.hlp < prev    next >
Text File  |  1985-08-19  |  1KB  |  27 lines

  1. **********************************************************************
  2. *                            COMPRESS                                *
  3. **********************************************************************
  4. *                  COPYRIGHT 1983 EUGENE H. MALLORY                  *
  5. **********************************************************************
  6. PROGRAM:
  7.     COMPRESS - Compress input by encoding repeated characters.
  8. USAGE:
  9.     COMPRESS [<fid] [>>fid]
  10. FUNCTION:
  11.     Reads input and compresses the text to the output.  Repeated 
  12.     strings of four or more characters are replaced by ^nC, where
  13.     N is represented by A for 1, B for 2, etc. Runs longer than 26
  14.     characters are encoded as several ^nC strings.
  15. EXAMPLE:
  16.     COMPRESS <FILE >FILET
  17.  
  18.  
  19.  
  20.                     _____________________________    
  21.  Standard Input     |                           |   Standard Output
  22.      TEXT           |                           |   COMPRESSED TEXT
  23. ------------------->|          COMPRESS         |----------------------->
  24.                     |                           |
  25.                     |                           |
  26.                     |___________________________|
  27.